x =100
def f():
    global x
    print  x
    x = 300
f()
print x


